import mongodb from 'mongodb'
import bluebird from 'bluebird'

bluebird.promisifyAll(mongodb.MongoClient.prototype)

export default mongodb.MongoClient.connect('mongodb://localhost:27017/stocks')
